﻿using System;
using System.Xml.Serialization;

namespace SqlMapper.SqlElements
{
    /// <summary>
	/// Represent an isGreaterEqual sql tag element.
	/// </summary>
	[Serializable]
    [XmlRoot("isGreaterEqual", Namespace = "http://ibatis.apache.org/mapping")]
    public sealed class IsGreaterEqual : Conditional
    {
        public override bool IsCondition(string value)
        {
            return string.Compare(value, CompareValue) >= 0;
        }
    }
}
